home *** CD-ROM | disk | FTP | other *** search
/ Aminet 22 / Aminet 22 (1997)(GTI - Schatztruhe)[!][Dec 1997].iso / Aminet / util / libs / Identify.lha / Identify / include / modules / libraries / identify.e next >
Text File  |  1997-09-01  |  12KB  |  219 lines

  1. /*
  2. **      $VER: identify.e 7.3 (31.8.97)
  3. **
  4. **      identify.library definitions
  5. **
  6. **      (C) Copyright 1996-97 Richard Koerber
  7. **      All Rights Reserved.
  8. **
  9. **      AmigaE definitions by
  10. **      Roger Hågensen - Msi Software
  11. */
  12.  
  13. OPT MODULE /* E option, stating this is to be compiled as an E module */
  14. OPT EXPORT /* E option, stating all values/code is to be put in module */
  15.  
  16.  
  17. -> Generic library informations
  18.  
  19. CONST IDENTIFYVERSION=7            /* Lowest version to be used             */
  20.  
  21. CONST IDENTIFYBUFLEN=$32           /* default buffer length                 */
  22.  
  23.  
  24. -> Expansion() tags
  25.  
  26. CONST IDTAG_ConfigDev=$CD450000,   /* (struct ConfigDev *) ConfigDev        */
  27.                                    /* structure to be evaluated             */
  28.       IDTAG_ManufID=$CD450001,     /* UWORD manufacturer ID if no           */
  29.                                    /* ConfigDev is available                */
  30.       IDTAG_ProdID=$CD450002,      /* UBYTE product ID if no                */
  31.                                    /* ConfigDev is available                */
  32.       IDTAG_StrLength=$CD450003,   /* UWORD of maximum buffer length,       */
  33.                                    /* including termination. Default is 50. */
  34.       IDTAG_ManufStr=$CD450004,    /* STRPTR of manufacturer name           */
  35.                                    /* buffer, or NULL                       */
  36.       IDTAG_ProdStr=$CD450005,     /* STRPTR of product name                */
  37.                                    /* buffer, or NULL                       */
  38.       IDTAG_ClassStr=$CD450006,    /* STRPTR of product class               */
  39.                                    /* buffer, or NULL                       */
  40.       IDTAG_DeadStr=$CD450007,     /* STRPTR deadend or recoverable alert?  */
  41.       IDTAG_SubsysStr=$CD450008,   /* STRPTR alert subsystem                */
  42.       IDTAG_GeneralStr=$CD450009,  /* STRPTR alert general cause            */
  43.       IDTAG_SpecStr=$CD45000A,     /* STRPTR alert specific cause           */
  44.       IDTAG_FuncNameStr=$CD45000B, /* STRPTR function name                  */
  45.       IDTAG_Expansion=$CD45000C,   /* (struct ConfigDev **) for a complete  */
  46.                                    /* expansion check. Init the variable    */
  47.                                    /* with NULL.                            */
  48.       IDTAG_Secondary=$CD45000D    /* BOOL warn for secondary expansion     */
  49.                                    /*  boards (defaults to FALSE)           */
  50.  
  51.  
  52. -> Hardware description types
  53.  
  54. CONST IDHW_SYSTEM=0,               /* System (Amiga,DraCo,...) [V2]         */
  55.       IDHW_CPU=1,                  /* CPU (68000,68010,...,68060)           */
  56.       IDHW_FPU=2,                  /* FPU (---,68881,68882,68040,68060)     */
  57.       IDHW_MMU=3,                  /* MMU (---,68852,68030,68040,68060)     */
  58.       IDHW_OSVER=4,                /* OS Version (V*.*)                     */
  59.       IDHW_EXECVER=5,              /* Exec Version (V*.*)                   */
  60.       IDHW_WBVER=6,                /* Workbench Version (---,V*.*)          */
  61.       IDHW_ROMSIZE=7,              /* OS ROM Size (*KB, *MB)                */
  62.       IDHW_CHIPSET=8,              /* Chipset (OCS,ECS,AGA,DraCo)           */
  63.       IDHW_GFXSYS=9,               /* Graphic OS (AmigaOS, CyberGraphX ...) */
  64.       IDHW_CHIPRAM=10,             /* All Chip RAM (*KB, *MB, *GB)          */
  65.       IDHW_FASTRAM=11,             /* All Fast RAM (*KB, *MB, *GB)          */
  66.       IDHW_RAM=12,                 /* All Total RAM (*KB, *MB, *GB)         */
  67.       IDHW_SETPATCHVER=13,         /* SetPatch Version (---,V*.*) [V4]      */
  68.       IDHW_AUDIOSYS=14,            /* Audio OS (AmigaOS, AHI, ...) [V5]     */
  69.       IDHW_OSNR=15,                /* AmigaOS (2.04, 3.1, ...)              */
  70.       IDHW_VMMCHIPRAM=16,          /* VMM Chip RAM (*KB, *MB, *GB)          */
  71.       IDHW_VMMFASTRAM=17,          /* VMM Fast RAM (*KB, *MB, *GB)          */
  72.       IDHW_VMMRAM=18,              /* VMM Total RAM (*KB, *MB, *GB)         */
  73.       IDHW_PLNCHIPRAM=19,          /* Plain Chip RAM (*KB, *MB, *GB)        */
  74.       IDHW_PLNFASTRAM=20,          /* Plain Fast RAM (*KB, *MB, *GB)        */
  75.       IDHW_PLNRAM=21,              /* Plain Total RAM (*KB, *MB, *GB)       */
  76.       IDHW_VBR=22,                 /* Vector Base Register [V6]             */
  77.       IDHW_LASTALERT=23,           /* Last Alert code                       */
  78.       IDHW_VBLANKFREQ=24,          /* VBlank Frequency                      */
  79.       IDHW_POWERFREQ=25,           /* Power Frequency Power Frequency       */
  80.       IDHW_ECLOCK=26,              /* EClock EClock                         */
  81.       IDHW_SLOWRAM=27,             /* Plain Slow RAM (*KB, *MB, *GB)        */
  82.       IDHW_GARY=28,                /* Gary (---,Normal,...)                 */
  83.       IDHW_RAMSEY=29,              /* RAMSEY (---,D,F)                      */
  84.       IDHW_BATTCLOCK=30,           /* Battery Backed Up Clock (---,Found)   */
  85.       IDHW_CHUNKYPLANAR=31,        /* Chunky To Planar Hardware (---,Found) [V7] */
  86.       IDHW_POWERPC=32,             /* PowerPC present? (---,Found)          */
  87.       IDHW_PPCCLOCK=33,            /* PowerPC clock (unit MHz)              */
  88.       IDHW_NUMBEROF=34             /* Number of types, PRIVATE!             */
  89.  
  90.  
  91. -> IDHW_SYSTEM numerical result codes
  92.  
  93. CONST IDSYS_AMIGA1000=0,           /* Amiga 1000                            */
  94.       IDSYS_AMIGAOCS=1,            /* OCS Amiga 500/2000                    */
  95.       IDSYS_AMIGAECS=2,            /* ECS Amiga 500/2000                    */
  96.       IDSYS_AMIGA500=3,            /* Amiga 500                             */
  97.       IDSYS_AMIGA2000=4,           /* Amiga 2000                            */
  98.       IDSYS_AMIGA3000=5,           /* Amiga 3000                            */
  99.       IDSYS_CDTV=6,                /* CDTV                                  */
  100.       IDSYS_AMIGA600=7,            /* Amiga 600                             */
  101.       IDSYS_CD32=8,                /* CD32                                  */
  102.       IDSYS_AMIGA1200=9,           /* Amiga 1200                            */
  103.       IDSYS_AMIGA4000=10,          /* Amiga 4000                            */
  104.       IDSYS_DRACO=11               /* DraCo                                 */
  105.  
  106.  
  107. -> IDHW_CPU numerical result codes
  108.  
  109. CONST IDCPU_68000=0,               /* 68000                                 */
  110.       IDCPU_68010=1,               /* 68010                                 */
  111.       IDCPU_68020=2,               /* 68020                                 */
  112.       IDCPU_68030=3,               /* 68030                                 */
  113.       IDCPU_68EC030=4,             /* 68EC030 (without MMU)                 */
  114.       IDCPU_68040=5,               /* 68040                                 */
  115.       IDCPU_68LC040=6,             /* 68LC040 (without FPU)                 */
  116.       IDCPU_68060=7,               /* 68060                                 */
  117.       IDCPU_68LC060=8              /* 68LC060 (without FPU)                 */
  118.  
  119.  
  120. -> IDHW_FPU numerical result codes
  121.  
  122. CONST IDFPU_NONE=0,                /* no FPU                                */
  123.       IDFPU_68881=1,               /* 68881                                 */
  124.       IDFPU_68882=2,               /* 68882                                 */
  125.       IDFPU_68040=3,               /* 68040                                 */
  126.       IDFPU_68060=4                /* 68060                                 */
  127.  
  128.  
  129. -> IDHW_MMU numerical result codes
  130.  
  131. CONST IDMMU_NONE=0,                /* no MMU                                */
  132.       IDMMU_68851=1,               /* 68851                                 */
  133.       IDMMU_68030=2,               /* 68030                                 */
  134.       IDMMU_68040=3,               /* 68040                                 */
  135.       IDMMU_68060=4                /* 68060                                 */
  136.  
  137.  
  138. -> IDHW_OSNR numerical result codes
  139.  
  140. CONST IDOS_UNKNOWN=0,              /* <V36 or >V41                          */
  141.       IDOS_2_0=1,                  /* OS2.0  (V36)                          */
  142.       IDOS_2_04=2,                 /* OS2.04 (V37)                          */
  143.       IDOS_2_1=3,                  /* OS2.1  (V38)                          */
  144.       IDOS_3_0=4,                  /* OS3.0  (V39)                          */
  145.       IDOS_3_1=5,                  /* OS3.1  (V40)                          */
  146.       IDOS_3_2=6                   /* OS3.2  (V41)                          */
  147.  
  148.  
  149. -> IDHW_CHIPSET numerical result codes
  150.  
  151. CONST IDCS_OCS=0,                  /* OCS                                   */
  152.       IDCS_ECS=1,                  /* ECS                                   */
  153.       IDCS_AGA=2,                  /* AGA                                   */
  154.       IDCS_ALTAIS=3                /* DraCo Altais                          */
  155.  
  156.  
  157. -> IDHW_GFXSYS numerical result codes
  158.  
  159. CONST IDGOS_AMIGAOS=0,             /* Plain AmigaOS                         */
  160.       IDGOS_EGS=1,                 /* EGS                                   */
  161.       IDGOS_RETINA=2,              /* Retina                                */
  162.       IDGOS_GRAFFITI=3,            /* Graffiti                              */
  163.       IDGOS_TIGA=4,                /* TIGA                                  */
  164.       IDGOS_PROBENCH=5,            /* Merlin ProBench                       */
  165.       IDGOS_PICASSO=6,             /* Picasso                               */
  166.       IDGOS_CGX=7,                 /* CyberGraphX                           */
  167.       IDGOS_CGX3=8,                /* CyberGraphX 3D                        */
  168.       IDGOS_PICASSO96=9            /* Picasso96                             */
  169.  
  170.  
  171. -> IDHW_AUDIOSYS numerical result codes
  172.  
  173. CONST IDAOS_AMIGAOS=0,             /* Plain AmigaOS                         */
  174.       IDAOS_MAESTIX=1,             /* MaestroPro driver                     */
  175.       IDAOS_TOCCATA=2,             /* Toccata driver                        */
  176.       IDAOS_PRELUDE=3,             /* Prelude driver                        */
  177.       IDAOS_AHI=4,                 /* AHI                                   */
  178.       IDAOS_MACROAUDIO=5           /* MacroAudio                            */
  179.  
  180.  
  181. -> IDHW_GARY numerical result codes
  182.  
  183. CONST IDGRY_NONE=0,                /* No Gary available                     */
  184.       IDGRY_NORMAL=1,              /* Normal Gary                           */
  185.       IDGRY_ENHANCED=2             /* Enhanced Gary                         */
  186.  
  187.  
  188. -> IDHW_RAMSEY numerical result codes
  189.  
  190. CONST IDRSY_NONE=0,                /* No RamSey available                   */
  191.       IDRSY_REVD=1,                /* RamSey Revision D                     */
  192.       IDRSY_REVF=2                 /* RamSey Revision F                     */
  193.  
  194.  
  195. -> IDHW_POWERPC numerical result codes
  196.  
  197. CONST IDPPC_NONE=0,                /* No PowerPC implemented                */
  198.       IDPPC_OTHER=1,               /* Another PowerPC                       */
  199.       IDPPC_602=2,                 /* 602                                   */
  200.       IDPPC_603=3,                 /* 603                                   */
  201.       IDPPC_603E=4,                /* 603e                                  */
  202.       IDPPC_603P=5,                /* 603p                                  */
  203.       IDPPC_604=6                  /* 604                                   */
  204.  
  205.  
  206. -> Error codes
  207.  
  208. CONST IDERR_OKAY=0,                /* No error                              */
  209.       IDERR_NOLENGTH=-1,           /* Buffer length is 0 ??                 */
  210.       IDERR_BADID=-2,              /* Missing or bad board ID               */
  211.       IDERR_NOMEM=-3,              /* Not enough memory                     */
  212.       IDERR_NOFD=-4,               /* No fitting FD file found              */
  213.       IDERR_OFFSET=-5,             /* Function offset not found             */
  214.       IDERR_DONE=-6,               /* Done with traversing (not an error)   */
  215.       IDERR_SECONDARY=-7           /* Secondary expansion board (not an error) */
  216.  
  217.  
  218. -> That's all...
  219.